<?php

namespace app\admin\model;

class Company extends Common
{
    protected $table = 'tp_company_introduction';

    public function departments()
    {
        return $this->hasMany('Department', 'company_id', 'id');
    }

    public function positions()
    {
        return $this->hasMany('Position', 'company_id', 'id');
    }


}